﻿using System;
using System.Data;

namespace ConsoleApplication.TODO
{
    [AttributeUsage(AttributeTargets.Parameter)]
    internal class SqlParameterAttribute : System.Attribute
    {
        public string name { get; set; }

        public bool paramTypeDefined { get; set; }
        public SqlDbType paramType { get; set; }
        public int size { get; set; }
        public byte precision { get; set; }
        public byte scale { get; set; }
        public bool directionDefined { get; set; }

        public ParameterDirection direction { get; set; }


        public SqlParameterAttribute(string n) {
            name = n;
        }


        public SqlParameterAttribute(int s)
        {
            size = s;
        }


    }


    [AttributeUsage(AttributeTargets.Parameter)]
    public sealed class NonCommandParemerterAttribute : System.Attribute { 
    
    }
}
